The Case for Explicit Coupling Constraints

نویسندگان

  • Mikal Ziane
  • Mel Ó Cinnéide
چکیده

A software element defined in one place is typically used in many places. When it is changed, all its occurrences may need to be changed too, which can severely hinder software evolution. This has led to the support of encapsulation in modern programming languages. Unfortunately, as is shown in this paper, this is not enough to express all the constraints that are needed to decouple programming elements that evolve at different paces. In this paper we show that: • A language can be defined to easily express very general coupling constraints. • Violations to these constraints can be detected automatically. We then demonstrate several places where the need for coupling constraints arose in open-source Java projects. These constraints were expressed in comments when explicit constraints would have enabled automatic treatment.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Nonstandard explicit third-order Runge-Kutta method with positivity property

When one solves differential equations, modeling physical phenomena, it is of great importance to take physical constraints into account. More precisely, numerical schemes have to be designed such that discrete solutions satisfy the same constraints as exact solutions. Based on general theory for positivity, with an explicit third-order Runge-Kutta method (we will refer to it as RK3 method) pos...

متن کامل

Closed-form analytical solution procedure for element design in D regions

This paper presents a novel procedure for solving the equations system of the rotating crack model used for reinforced concrete. It is implemented in the programme NonOPt where it is used to optimise the reinforcement design of D regions. The procedure is based on solving explicit closed-form relations without the need to incrementally increase the applied loads. The solution procedure is based...

متن کامل

Experiments on Coupled Technique for Adjacent Similar Buildings

Increasing the population, urbanization has led to the rapid construction of buildings. Due to space constraints and an increase in land cost, these buildings are built too close to each other and can cause damage under dynamic actions such as earthquakes. A new technique, known as Structural coupling, has been developed recently, has found very effective in dissipating the dispersive vibration...

متن کامل

Stability constraints for oscillatory neural networks

The stability of the equilibrium point (background activity) of oscillatory neural networks is an important property for computational applications that explore the switching between background activity and oscillatory states. Here we consider a general approach to this problem for networks of arbitrary size. For symmetric coupling, often the case in associative learning algorithms, we derive t...

متن کامل

Proceduralization and Transfer of Linguistics Knowledge as a Result of Form-focused Output and Input Practice

This study compared the effects of two types of form-focused tasks on proceduralization and transfer of linguistics knowledge in case of English modals. All participants of the study attended pretests, posttests and delayed posttests. The procedural comprehension and production knowledge were measured through the groups’ performance on a timed dual task test that resembled the context of practi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1305.2398  شماره 

صفحات  -

تاریخ انتشار 2013